package engine.utils;

import java.util.Date;

public class DateUtils {
	Date now;
	
	int numberOfHoursForTrigger;

	public void setNumberOfHoursForTrigger(int numberOfHoursForTrigger) {
		this.numberOfHoursForTrigger = numberOfHoursForTrigger;
	}

	
	public int getNumberOfHoursForTrigger() {
		return numberOfHoursForTrigger;
	}


	public Date getNow() {
		if (now != null) {
			return now;
		} else {
			return new Date();
		}
	}
	
	public void setNow(Date d) {
		now = d;
	}
	
	public long getRunIndex(Date d) {
		return 0;
	}
}
